.virtual-list-box {
  display: inline-flex;
  align-items: baseline;
  box-sizing: border-box;
  min-width: 148px;
  height: 70px;
  width: 100%;
  top: 0;
  overflow: hidden;
  .ant-checkbox-wrapper {
    display: flex;
    align-items: center;
  }
  .ant-form-item-children {
    display: flex;
  }
}

.virtual-selector__label {
  line-height: 1.5;
  font-size: 14px;
  white-space: nowrap;
  color: #333;
  &::after {
    position: relative;
    top: -0.5px;
    content: ":";
    margin: 0 8px 0 2px;
  }
  &.none::after {
    display: none;
  }
}
.virtual-selector__input-wrapper {
  position: relative;
  flex: 1;
}
.virtual-selector__input {
  display: block;
  width: 100%;
  height: 32px;
  padding: 0 34px 0 11px;
  border: 1px solid #d9d9d9;
  border-radius: 0px;
  background-color: #fff;
  color: @textColor5;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  cursor: text;
  /deep/&::placeholder,
  /deep/&::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0.25);
  }
  &:hover {
    border-color: #ff4d4f;
  }
}

.virtual-selector__arrow {
  position: absolute;
  top: 10px;
  right: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  transition: transform 0.3s, -webkit-transform 0.3s;
  pointer-events: none;
  /deep/svg {
    color: rgba(0, 0, 0, 0.25);
  }
}
.virtual-selector__loading {
  position: absolute;
  top: 10px;
  right: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  pointer-events: none;
  /deep/svg {
    color: rgba(0, 0, 0, 0.25);
  }
}
.virtual-selector__input-wrapper--active input {
  border-color: #ff4d4f;
  box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
}
.virtual-selector__input-wrapper--active {
  .virtual-selector__arrow {
    transform: rotate(180deg);
  }
  .virtual-selector__dropdown {
    display: block;
  }
}
.virtual-selector__dropdown {
  position: absolute;
  min-width: 100%;
  padding: 4px 8px;
  margin: 0;
  border-radius: 0px;
  box-sizing: border-box;
  line-height: 1.5;
  list-style: none;
  font-size: 14px;
  color: @textColor5;
  outline: none;
  z-index: 1050;
  overflow-y: auto;
  transform: translateZ(0px);
  background: #f9fafb;
  border-bottom: 1px solid #dee2e9;
}
.virtual-selector__scroller {
  max-height: 70px;
  min-height: 70px;
}

.vs-item-active {
  display: none;
  float: right;
}
.virtual-selector__dropdown-item {
  display: flex;
  justify-content: space-between;
  padding: 5px 12px;
  line-height: 22px;
  font-weight: 400;
  font-size: 14px;
  color: @textColor5;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s ease;
  &:hover {
    & > .vs-item-active {
      display: inline;
    }
  }
  /deep/.virtual-selector__dropdown-item--selected {
    font-weight: 600;
    background-color: #f9f9fb;
    & > .vs-item-active {
      display: inline !important;
      color: @blue2;
    }
  }
}
// .virtual-selector__dropdown-item--selected {
//   font-weight: 600;
//   background-color: #f9f9fb;
//   .vs-item-active {
//     background-color: @p-color-1;
//     i {
//       display: inline !important;
//       color: #fff;
//     }
//   }
// }
.ant-select-dropdown--multiple {
  .virtual-selector__dropdown-item:hover > .vs-item-active {
    display: flex !important;
  }
  .vs-item-active {
    order: 1;
    float: right;
    width: 16px;
    height: 16px;
    border: 1px solid #21252e !important;
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 12px;
    i {
      display: none;
    }
  }

  .virtual-selector__dropdown-item {
    display: flex;
    justify-content: flex-start;
    padding: 5px 12px;
    line-height: 22px;
    font-weight: 400;
    font-size: 14px;
    color: @textColor5;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: pointer;
    align-items: center;
    transition: background 0.3s ease;
    // &:hover {
    //   // & > .vs-item-active {
    //   //   i {
    //   //     display: inline;
    //   //   }
    //   // }
    // }
  }
  .vs-item-text {
    width: 80%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    order: 2;
    padding-left: 8px;
  }
}
.c-empty-box {
  height: 36px;
  text-align: center;
  line-height: 36px;
}
